package com.wus.demo1.api;

import com.wus.common.core.domain.base.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Description: 接口feign调用
 * @Author: wus
 * @Date: 2024/12/8 23:56
 */
@FeignClient("demo1")
public interface Demo1ApiService {

    @GetMapping("/test/hello")
    Result<String> hello();
}
